<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:th="http://www.thymeleaf.org" th:fragment="part">
<head>
    <title>viewDGroup</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" th:href="@{/css/style.css}" />
</head>
<body>
<div id="wrap">
    <div id="wrapper">
        <ul class="first">
            <li><a href="/om/viewOUser">组织党员管理</a></li>
            <li><a href="/om/viewDGroup">组织管理</a></li>
            <li><a href="/om/viewOPost">组织帖子管理</a></li>
        </ul>
    </div>
    <div id="big">
        <div id="top_content">
            <div id="content">

                <form th:action="@{update2}" method="get" enctype="multipart/form-data">
                        <table cellpadding="0" cellspacing="0" border="0"
                               class="form_table">
                            <tr>
                                <td valign="middle" align="right">
                                    组织ID:
                                </td>
                                <td valign="middle" align="left">
                                    <span th:text="${dgroup.gid}"></span>
                                    <input type="hidden" name="gid" th:value="${dgroup.gid}">
                                </td>
                            </tr>
                            <tr>
                                <td valign="middle" align="right">
                                    组织名称:
                                </td>
                                <td valign="middle" align="left">
                                    <input type="text" class="inputgri"  name="gname" th:value="${dgroup.gname}"/>
                                </td>
                            </tr>
                            <tr>
                                <td valign="middle" align="right">
                                    组织人数:
                                </td>
                                <td valign="middle" align="left">
                                    <span th:text="${dgroup.gcount}"></span>
                                    <input type="hidden" name="gcount" th:value="${dgroup.gcount}">
                                </td>
                            </tr>

                        </table>
                        <p>
                            <input type="submit" style="width: 75px" class="button" value="更新" />
                            <input type="button" style="width: 75px" class="button" value="返回" onclick="rview()" />
                            <script>
                                function rview(){
                                    location.href = '[[@{/om/viewDGroup}]]';
                                }
                            </script>
                        </p>
                    </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>